-
Home
-
MyRewards – Loyalty Points and Rewards for WooCommerce – Reward orders, referrals, product reviews and more
-
5.4.3
-
Code
-
Classes
- OrderAmount
Total Complexity |
57 |
Dependencies |
5 |
Dependents |
2 |
Total lines |
358 |
Lines of code |
250 |
Logical lines of code |
126 |
Comment lines |
23 |
Methods |
31 |
Properties |
6 |
Methods 31
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
submit() |
S |
46 |
6 |
39 |
getOrderAmount() |
S |
55 |
7 |
20 |
orderDone() |
S |
55 |
5 |
19 |
shapeGain() |
S |
58 |
5 |
13 |
getData() |
S |
61 |
4 |
11 |
getForm() |
S |
46 |
2 |
36 |
getPointsForAmount() |
S |
66 |
3 |
9 |
_save() |
S |
62 |
2 |
10 |
getInformation() |
S |
68 |
1 |
7 |
getAfterDiscount() |
S |
82 |
1 |
3 |
setAfterDiscount() |
S |
77 |
1 |
4 |
getShipping() |
S |
82 |
1 |
3 |
setShipping() |
S |
77 |
1 |
4 |
getFees() |
S |
82 |
1 |
3 |
setFees() |
S |
77 |
1 |
4 |
getThresholdEffect() |
S |
82 |
1 |
3 |
setThresholdEffect() |
S |
77 |
1 |
4 |
getDenominator() |
S |
82 |
1 |
3 |
setDenominator() |
S |
75 |
1 |
4 |
getDisplayType() |
S |
79 |
1 |
3 |
_fromPost() |
S |
62 |
1 |
10 |
getEventPriority() |
S |
80 |
1 |
3 |
setEventPriority() |
S |
76 |
1 |
4 |
_install() |
S |
77 |
1 |
3 |
getPointsRecipient() |
S |
78 |
1 |
3 |
getGainInfo() |
S |
82 |
1 |
3 |
getPointsReason() |
S |
68 |
1 |
6 |
poeditDeclare() |
S |
80 |
1 |
3 |
roundPrice() |
S |
78 |
1 |
3 |
getCategories() |
S |
68 |
1 |
7 |
isGuestAllowed() |
S |
83 |
1 |
3 |